import { createSSRApp } from "vue";
import App from "./App.vue";
import { createPinia } from 'pinia';
import apiInstance from '@/api'; // 导入 API 实例


export function createApp() {
  const app = createSSRApp(App);
  const pinia = createPinia();
  // 1. 挂载 Pinia
  app.use(pinia);
  return {
    app,
  	pinia,
  };
}
